package commands.controller;

import dataTypes.File;

/**
 * Request to delete file from downloading files
 * @author Marcin Kamionowski
 */
public class CC_GUIDelDownload extends ControllerCommand {

    final private File file;

    /**
     * Constructor
     * @param file Decriptor of downloading file
     */
    public CC_GUIDelDownload(File file) {
        super(ControllerCommandType.GUI_DEL_DOWNLOAD);
        this.file = file;
    }

    /**
     * Getter
     * @return File descriptor
     */
    public File getFile() {
        return file;
    }
}
